<script setup>

import AppHeader from "../components/AppHeader.vue";
import AppLeft from "../components/AppLeft.vue";
</script>

<template>
  <div>
    <el-container class="container">
      <el-header class="header">
        <app-header></app-header>
      </el-header>
      <el-container>
        <el-aside width="200px" class="left">
          <app-left></app-left>
        </el-aside>
        <el-main class="main">
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style scoped>
.container {
  height: 100vh;
}
.header {
  width: 100%;
  height: 6vh;
  background-color: antiquewhite;
}

.left {
  background-color: white;
  height: 94vh;
}

.main {
  background-color: beige;
  height: 94vh;
  width: 100%;
}
</style>